[INFO] cloning repository https://github.com/sector-f/swm-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sector-f/swm-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsector-f%2Fswm-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsector-f%2Fswm-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7d645b6c9b9ff28110aaaa8714122ef17004cd3
[INFO] checking sector-f/swm-rust against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsector-f%2Fswm-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sector-f/swm-rust on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sector-f/swm-rust
[INFO] finished tweaking git repo https://github.com/sector-f/swm-rust
[INFO] tweaked toml for git repo https://github.com/sector-f/swm-rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/sector-f/swm-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f261e8d202a3a1b042e18734b163dd73af7f332a8c654116f2da754fbb879e8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6f261e8d202a3a1b042e18734b163dd73af7f332a8c654116f2da754fbb879e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f261e8d202a3a1b042e18734b163dd73af7f332a8c654116f2da754fbb879e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f261e8d202a3a1b042e18734b163dd73af7f332a8c654116f2da754fbb879e8", kill_on_drop: false }`
[INFO] [stdout] 6f261e8d202a3a1b042e18734b163dd73af7f332a8c654116f2da754fbb879e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04cc1551907b60e7668d03808f7da251a075a6a4b05e6538afdec7d294bc3d82
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "04cc1551907b60e7668d03808f7da251a075a6a4b05e6538afdec7d294bc3d82", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling xcb v0.9.0
[INFO] [stderr]     Checking swm-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `base`
[INFO] [stdout]   --> src/swm.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | use xcb::{base,xproto};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `base`
[INFO] [stdout]   --> src/swm.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | use xcb::{base,xproto};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/swm.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 234 | /     loop {
[INFO] [stdout] 235 | |         events_loop(&connection, &screen, focuswin);
[INFO] [stdout] 236 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 237 | 
[INFO] [stdout] 238 |       process::exit(1);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/swm.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 234 | /     loop {
[INFO] [stdout] 235 | |         events_loop(&connection, &screen, focuswin);
[INFO] [stdout] 236 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 237 | 
[INFO] [stdout] 238 |       process::exit(1);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:104:54
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 let event: &xcb::CreateNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:104:54
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 let event: &xcb::CreateNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:111:55
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let event: &xcb::DestroyNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:111:55
[INFO] [stdout]     |
[INFO] [stdout] 111 |                 let event: &xcb::DestroyNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:116:57
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     let event: &xcb::EnterNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:116:57
[INFO] [stdout]     |
[INFO] [stdout] 116 |                     let event: &xcb::EnterNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 let event: &xcb::MapNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 let event: &xcb::MapNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:129:57
[INFO] [stdout]     |
[INFO] [stdout] 129 |                     let event: &xcb::ButtonPressEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:129:57
[INFO] [stdout]     |
[INFO] [stdout] 129 |                     let event: &xcb::ButtonPressEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:205:57
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 let event: &xcb::ConfigureNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/swm.rs:205:57
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 let event: &xcb::ConfigureNotifyEvent = xcb::cast_event(&event);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swm-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "04cc1551907b60e7668d03808f7da251a075a6a4b05e6538afdec7d294bc3d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04cc1551907b60e7668d03808f7da251a075a6a4b05e6538afdec7d294bc3d82", kill_on_drop: false }`
[INFO] [stdout] 04cc1551907b60e7668d03808f7da251a075a6a4b05e6538afdec7d294bc3d82
